package model

import (
	"github.com/zeromicro/go-zero/core/stores/cache"
	"github.com/zeromicro/go-zero/core/stores/sqlx"
)

var _ ARoleModel = (*customARoleModel)(nil)

type (
	// ARoleModel is an interface to be customized, add more methods here,
	// and implement the added methods in customARoleModel.
	ARoleModel interface {
		aRoleModel
	}

	customARoleModel struct {
		*defaultARoleModel
	}
)

// NewARoleModel returns a model for the database table.
func NewARoleModel(conn sqlx.SqlConn, c cache.CacheConf) ARoleModel {
	return &customARoleModel{
		defaultARoleModel: newARoleModel(conn, c),
	}
}
